﻿<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl" %>
<%-- The following line works around an ASP.NET compiler warning --%>
<%: ""%>
<%@ Import Namespace="App=Equipment.Business.Application"%>
<%
    If Request.IsAuthenticated Then
    %>
    <div style="float:left; width:145px;height:20px; overflow:hidden;">
        Welcome <b><%: App.CurrentUserInfo.FullName%></b>!
        </div><span class="text-separator">|</span>
        [ <%: Html.ActionLink("Log Off", "LogOff", "Account")%> ]
    <%
    Else
    %>
        [ <%: Html.ActionLink("Log On", "LogOn", "Account")%> ]
        <span class="text-separator">|</span> <%: Html.ActionLink("F.A.Q", "FAQ", "Home")%> <span class="text-separator">
                                |</span> <%: Html.ActionLink("Help", "Help", "Home")%>
    <%        
    End If
%>